#!/bin/sh

alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'

alias dos2mac="dos2unix -c mac"
alias gbk2utf8="iconv -f GBK -t UTF-8"
alias utf82gbk="iconv -f UTF-8 -t GBK"

alias tailf="tail -f"
alias git-lg="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias lh="ll -h"

alias start-emacs='emacs --daemon'
alias restart-emacs='emacsclient -e "(kill-emacs)" ; emacs --daemon'
alias kill-emacs='emacsclient -e "(kill-emacs)"'
